package com.xz.xzutils.settings.global;

import com.intellij.openapi.options.Configurable;
import com.intellij.openapi.util.NlsContexts;
import com.xz.xzutils.settings.gui.MyPluginSettings;
import org.jetbrains.annotations.Nullable;

import javax.swing.*;

/**
 * @author DONG.WANG17@HAND-CHINA.COM
 * @since 2025/3/1-03-01 11:24
 */
public class MyPluginSettingsConfig implements Configurable {
    @Override
    public @NlsContexts.ConfigurableName String getDisplayName() {
        return "XzUtils";
    }

    @Override
    public @Nullable JComponent createComponent() {
        return new MyPluginSettings().getRootComponent();
    }

    @Override
    public boolean isModified() {
        return false;
    }

    @Override
    public void apply() {

    }
}
